// 导入封装好的网络请求类工具
import request from '../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//地层承压实验保存数据 
export const EditStratumPressure = (form) => {
        return request({
            url: `/stratumPressureTest/stratumPressureTestUpdate`,
            method: 'put',
            data: form
        })
    }
    //地层承压实验删除数据
export const DeleteStratumPressure = (stratumpressuretestid) => {
        return request({
            url: `/stratumPressureTest/stratumPressureTestDelete/${stratumpressuretestid}`,
            method: 'delete'
        })
    }
    //地层承压实验查询数据 
export const FindStratumPressureByCondition = (wellQueryCondition) => {
        return request({
            url: '/stratumPressureTest/findStratumPressureTestByCondition',
            method: 'post',
            data: wellQueryCondition
        })
    }
    //地层承压实验新增数据 
export const InsertStratumPressure = (form) => {
    return request({
        url: "/stratumPressureTest/stratumPressureTestAdd",
        method: "post",
        data: form
    })
}